package router

import (
	"github.com/gin-gonic/gin"
	"group-buying/internal/api/handler"
)

func UserRouter(c *gin.RouterGroup) {
	user := c.Group("user")
	{
		user.POST("upload", handler.Upload)
		user.GET("/groupList", handler.GroupList)
		user.POST("/createGroup", handler.CreateGroup)
	}
}
